@mixin in1line {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

@mixin inline-n($n) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: $n;
  overflow: hidden;
  text-overflow: ellipsis;
}